// show_menu.cpp -- 显示主菜单
#include "../include/student_score_system.h"  // 包含自定义的头文件
#include <iostream>
#include <cctype>  // 包含字符函数库

// 显示主菜单
void showMenu()
{
    using std::cout;
    using std::endl;
    cout << "=========================================================" << endl;
    cout << "*               欢迎使用学生成绩管理系统                *" << endl;
    cout << "=========================================================" << endl;
    cout << "=========================================================" << endl;
    cout << "*\t\t    功能选择菜单  \t\t\t*" << endl;
    cout << "=========================================================" << endl;
    cout << "*\t\t   [1] 录入学生信息     \t\t*" << endl;
    cout << "*\t\t   [2] 显示学生信息     \t\t*" << endl;
    cout << "*\t\t   [3] 保存学生信息     \t\t*" << endl;
    cout << "*\t\t   [4] 统计学生人数     \t\t*" << endl;
    cout << "*\t\t   [5] 查询学生信息     \t\t*" << endl;
    cout << "*\t\t   [6] 查看成绩排名     \t\t*" << endl;
    cout << "*\t\t   [7] 修改学生信息     \t\t*" << endl;
    cout << "*\t\t   [8] 删除学生信息     \t\t*" << endl;
    cout << "*\t\t   [9] 退出系统         \t\t*" << endl;
    cout << "=========================================================" << endl;
    cout << endl;
}
